﻿using System;
using System.Configuration;
using FX.CC.Andon.Business.SystemManage;
using FX.CC.Andon.Entity.SystemManage;

namespace FX.CC.Andon.WebSite
{
    public partial class login : System.Web.UI.Page
    {
        protected internal WebSet Webset;
        public string Years;
        protected void Page_Load(object sender, EventArgs e)
        {
            var tyear = DateTime.Now.Year;
            if (tyear == 2014)
            {
                Years = tyear.ToString();
            }
            else
            {
                var y = tyear + 1;
                Years = "2014" + "-" + y;
            }
            this.Webset = new WebSetBusiness().loadConfig(Server.MapPath(ConfigurationManager.AppSettings["WebSetpath"]));
        }
    }
}